<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>编辑任务计划</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
	<script type="text/javascript" src="<%=path%>/resources/script/proms/task/taskPlan_edit.js"></script>

  </head>
  
  <body>
    <div class="easyui-layout" fit="true">
   		<div region="center" border="false">
			<form id="form" method="post">
				<input id="id" name="id" type="hidden" value="${taskPlan.id }" />
				<input id="taskId" name="taskId" type="hidden" value="${taskPlan.taskId }" />
				<input id="planActorName" name="planActorName" type="hidden" value="${taskPlan.planActorName }" />			
				<table class="edit-table">
					<tr>
						<th>计划主题：</th>
						<td>
							<input type="text" id="name" name="name" value="${taskPlan.name }" class="easyui-validatebox edit-input" style="width: 250px;" />
						</td>
					</tr>
					<tr>
						<th>预算资金：</th>
						<td>
							 <input id="planAmount" name="planAmount" value="${taskPlan.planAmount }" class="easyui-numberbox" style="width:240px" />&nbsp;元
						</td>
					</tr>
					<tr> 
					    <th>责任人：</th>
					    <td>
						  	<select id="plankActorId" name="plankActorId" value="${taskPlan.planActorId }" class="edit-input" style="width:250px" > 
							</select> 
					    </td>
				   	</tr>
					<tr>
						<th>截止时间：</th>
						<td>
						<!-- <input type="text" id="startTime" name="startTime" value="${startTimeStr }" style="width : 140px !important"
							onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
							class="Wdate easyui-validatebox" />～ -->
							<input type="text" id="endTime" name="endTime" value="${endTimeStr }"
							onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" style="width : 250px !important"
							class="Wdate easyui-validatebox" /></td>
					</tr>
					<tr>
						<th>预期成果：</th>
						<td><textarea id="expectResult" name="expectResult" class="easyui-validatebox" style="width: 300px;height: 80px;">${taskPlan.expectResult}</textarea></td>
					</tr>
					<tr>
						<th>计划描述：</th>
						<td><textarea id="remark" name="remark" class="easyui-validatebox" style="width: 300px;height: 80px;">${taskPlan.remark }</textarea></td>
					</tr>
				</table> 
			</form>
   		</div>
   		<div region="south" border="false" style="text-align: right; height: 35px; line-height: 8px; padding:5px 5px 0 0;">
   			<a id="btnSave" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0);">确定</a>
   			<a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0);">取消</a>
   		</div>
   	</div>
  </body>
</html>
